package com.ruoyi.business.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.business.domain.Employee;
import com.ruoyi.business.domain.HisGuest;
import com.ruoyi.business.domain.model.AccommodationStats;
import com.ruoyi.business.domain.model.EmployeeClassification;
import com.ruoyi.business.domain.vo.EmployeeVo;

import java.util.List;

public interface IEmployeePlusService extends IService<Employee> {
    LambdaQueryWrapper<Employee> buildQueryWrapper(Employee entity);
    /**
     * 获取员工人数，分本厂职工和外场职工
     * * * */
   List<EmployeeClassification> getEmployeeClassification();
    /**
     * 统计申请住房人数，已分配人数，未分配人数
     * * * */
    AccommodationStats getAccommodationStats();
    /**
     * 查询合同快要到期的员工数据
     */
    List<Employee> ContractExpirationReminder(Employee query);

    void updateAge();
    List<Employee> retirementReminder(Employee query);

    /**
     * 查询合同快要到期的员工数据
     */
    List<EmployeeVo> ContractExpirationReminderVo(EmployeeVo query);
    List<EmployeeVo> retirementReminderVO(EmployeeVo query);
}
